package com.info.zhiduoduo.common.configs;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Component
@ConfigurationProperties(prefix = "notification")
@PropertySource(value = {"classpath:notification-${spring.profiles.active}.properties"})
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
@ToString
public class NotificationConfig {

	/**
	 * 老板手机号，正式环境发送给胡刚的，测试环境发给tina
	 */
	private String bossPhone;
	/**
	 * Riley商务经理id
	 */
	private Integer rileyManagerId;
	/**
	 * 创客客服人员openid
	 */
	private List<String> customerAgents;
	/**
	 * 企业客服人员openid
	 */
	private List<String> companyAgents;
	/**
	 * 胡刚的openid
	 */
	private String bossOpenid;
	/**
	 * 纪锦娟的openid
	 */
	private List<String> financeList;

	/**
	 * 周雨辰的openid
	 */
	private String zhouyuchen;

	/**
	 * 企业招商子帐本充值通知财务：userid: 3246, realname: "符嘉琳"
	 */
	private String cashierCompanyZhaoShangLedgerRecharge;

	/**
	 * 企业招商子帐本转账记录包含敏感词：userid: 3252, realname: "纪锦娟"
	 */
	private String cashierCompanyZhaoShangLedgerIncomingRecordSensitive;
	/**
	 * 测试公告人员的openid
	 */
	private List<String> testNoticeOpenids;

	/**
	 * 增值服务通知
	 */
	private List<String> appreciationServices;

	/**
	 * 内部人员 公众号测试通知（测试环境及正式环境）
	 */
	private List<String> internalZhiduoduoNoticeOpenids;

	/**
	 * 内部人员合伙人公众号测试通知（测试环境及正式环境）
	 */
	private List<String> internalPartnerNoticeOpenids;

	/**
	 * 胡晓峰
	 */
	private String huxiaofeng;

}
